package com.orange.handler;

import java.sql.SQLException;
import java.util.List;

import com.orange.modules.entity.AuthSchoolRunningMap;
import com.orange.modules.entity.school_data.AuthSchoolRunningData;

public interface AuthSchoolRunningDateService {

	//插入数据、保存数据、修改数据
	public void insertAuthSchoolRunningData(AuthSchoolRunningData ard) throws SQLException;
	
	//移除数据
	public void delAuthSchoolRunningData(String pid) throws SQLException;
	
	//根据ID查找
	public AuthSchoolRunningData queryAuthSchoolRunningDataById(String pid) throws SQLException;
	
	//查找所有
	public List<AuthSchoolRunningData> queryAuthSchoolRunningDataByAll() throws SQLException;
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	//-----------------------------------------------------------------------------------------------------
	
	//保存办学数据中的卓越计划时间
	public void insertRunningMap(AuthSchoolRunningMap asrm) throws SQLException;
	
	//根据学校ID 和 专业类型  查询
	public AuthSchoolRunningData queryAuthSchoolRunningDataBySchoolId(String schoolId,String loginType) throws SQLException;
	
	//根据ID查
	public List<AuthSchoolRunningMap> queryAuthSchoolRunningMapByItemId(String rdId) throws SQLException;
	
	//删除教学子表数据
	public void deleteRunningMap(String srId) throws SQLException;
	/**
	 * 根据办学数据id删除国家“卓越”计划 时间数据
	 * @param runningDataId
	 * @throws SQLException
	 */
	public void deleteAuthSchoolRunningMapBySRId(String runningDataId) throws SQLException;
}
